package com.xxx.ware.ware_manage_sys.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xxx.ware.ware_manage_sys.bean.entity.records.WmsErrRecord;

public interface IErrRecordService extends IService<WmsErrRecord> {

    /**
     * 保存异常记录
     * @param wmsErrRecord
     * @return
     */
    Boolean saveErrRecord(WmsErrRecord wmsErrRecord);

    /**
     * 处理异常消息
     * @param recordId 异常记录id
     * @param optModule 操作模块
     */
    void handleErrRecordMsg(String recordId, String optModule);

}
